<?php include 'mo_topnav.php';?>
<div id="content">
	<div class="c_option">
		<div class="cmd fl"><a href="<?php echo $this->_url('list'); ?>">Posts</a> <a href="<?php echo $this->_url('categories'); ?>">Categories</a> <a href="<?php echo $this->_url('tags'); ?>">Tags</a></div>
	</div>
	<form action="" method="post">
	<div id="edit-post" class="box left_w fl">
	    <div class="box_t">
	        <div class="box_t_l">
	            <div class="box_tt"><span><?php echo $_GET['post_id']?'Edit':'New'; ?> post</span></div>
	        </div>
	    </div>
	    <div class="box_c form-list">
    		<table cellpadding="0" cellspacing="0" class="all_w noborder">
    			<tr>
    				<td class="form-tt">Title</td>
    				<td><?php echo $ui->control('textbox','title',array('value'=>'','size'=>'50','class'=>'btext')); ?></td>
    			</tr>
    			<tr>
    				<td class="form-tt">Nickname</td>
    				<td><?php echo $ui->control('textbox','nick_name',array('value'=>'','size'=>'50','class'=>'btext')); ?></td>
    			</tr>
    			<tr>
    				<td class="form-tt">Content</td>
    				<td><?php echo $ui->control('fckeditor','memo'); ?></td>
    			</tr>
    			<tr>
    				<td class="form-tt">Summary</td>
    				<td><?php echo $ui->control('fckeditor','summary',array('toolbar'=>'Basic','height'=>150)); ?></td>
    			</tr>
    		</table>
	    </div>
	</div>
	<div id="edit-post" class="box right_w fl m_l">
	    <div class="box_t">
	        <div class="box_t_l">
	            <div class="box_tt"><span>Tags</span></div>
	        </div>
	    </div>
	    <div class="box_c form-list">
	    	<table cellpadding="0" cellspacing="0" class="all_w noborder">
	    		<tr>
	    			<td class="tc">Tags : <?php echo $ui->control('textbox','tags',array('value'=>'','size'=>22,'class'=>'btext')); ?></td>
	    		</tr>
	    	</table>
	    </div>
	    <div class="box_t mtop">
	        <div class="box_t_l">
	            <div class="box_tt"><span>Medias</span></div>
	        </div>
	    </div>
	    <div class="box_c form-list">
	    	<table cellpadding="0" cellspacing="0" class="all_w noborder">
	    		<tr>
	    			<td class="tc"><?php echo $ui->control('FileUpload','pic',array('class'=>'btext')); ?></td>
	    		</tr>
	    		<tr>
	    			<td class="tc"></td>
	    		</tr>
	    	</table>
	    </div>
	    <div class="box_t mtop">
	        <div class="box_t_l">
	            <div class="box_tt"><span>Publish</span></div>
	        </div>
	    </div>
	    <div class="box_c form-list">
	    	<table cellpadding="0" cellspacing="0" class="all_w noborder">
	    		<tr>
	    			<td class="tc">Category</td>
	    		</tr>
	    		<tr>
	    			<td class="tc"><?php echo $ui->control('submit','save',array('value'=>'Publish')); ?> <?php echo $ui->control('submit','save',array('value'=>'Save Draft')); ?></td>
	    		</tr>
	    	</table>
	    </div>
	</div>
    </form>
	<div class="clear"></div>
</div>
<?php include 'mo_bottom.php';?>